#!/bin/bash
q1=( q w e r t y u i o p )
q2=( a s d f g h j k l )
q3=( z x c v b n m )

for var in q1 q2 q3
do
  eval "printf '%d\n' \"\${#${var}[@]}\""
done
